package com.unidt.www.module.bpm.dal.dataobject.task;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.unidt.www.framework.mybatis.core.dataobject.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author sk
 * @Description:
 * @Date 2023/1/4 15:26
 **/
@Data
@AllArgsConstructor
@TableName(value = "bpm_task_assign_dynamic", autoResultMap = true)
public class BpmDynamicAssignDo  extends BaseDO {

    @TableId
    private Long id;

    @TableField(value = "PROC_INST_ID_")
    private String  procInstId;

    @TableField(value = "PROC_DEF_ID_")
    private String  procDefId;

    @TableField(value = "CURRENT_ACT_ID_")
    private String  currentActId;

    @TableField(value = "EXE_ACT_ID_")
    private String  exeActId;

    @TableField(value = "ASSIGNEE")
    private String  assignee;

    Integer status;



    public BpmDynamicAssignDo() {
    }

    public BpmDynamicAssignDo(String procInstId, String procDefId, String currentActId, String exeActId, String assignee) {
        this.procInstId = procInstId;
        this.procDefId = procDefId;
        this.currentActId = currentActId;
        this.exeActId = exeActId;
        this.assignee = assignee;
    }
}
